<template>
    <div>
        <h1>这是子组件</h1>
    </div>
</template>

<script>
export default {
    name: 'ExComponent',
    props: {
        title: {
            type: String,
            default: '默认标题'
        }
    }
}
</script>

<style scoped>

</style>